
#include "ka-gles/kaGLESView.h"
#include "ka-gles/gles-iOS.h"


using namespace ka;

iOSGLESDriver::~iOSGLESDriver() {
    /*nothing*/
}

void *iOSGLESDriver::createWindowSurface(void *windowHandle, const ka::GLESConfig *config) {
    kaGLESView *view = nil;
    UIWindow *uiWindow = (UIWindow *)windowHandle;
    if (uiWindow) {
        view = [[kaGLESView alloc] init];
        
        
        
    }
    
    return view;
}